project(LOGINSERVER)

include_directories(${CMAKE_SOURCE_DIR}/LoginServer)

aux_source_directory(. loginserver_SRC)

add_library(
        LoginServer
        ${loginserver_SRC}
        ORMManager.cpp
        ORMManager.h
        define.h
        TcpClient.cpp
        TcpClient.h
        LoginConnection.cpp
        LoginConnection.h
        LoginServer.cpp
        LoginServer.h
)

target_link_libraries(
        LoginServer
        mysqlclient
        Net
)